fc3791a21712fcf135d7bacc081408d1c9e3da5a,symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/eval/DoubleStackEvaluator.java,DoubleStackEvaluator,evalSymbol,#ISymbol#,16
Before Change
return ((ISignedNumber) symbol.get()).doubleValue();
}
if (symbol.isBuiltInSymbol()) {
final IEvaluator module = ((IBuiltInSymbol) symbol).getEvaluator();
if (module instanceof ISignedNumberConstant) {
// fast evaluation path
return ((ISignedNumberConstant) module).evalReal();
}
After Change
}
if (symbol.isSignedNumberConstant()) {
// fast evaluation path
return ((ISignedNumberConstant) ((IBuiltInSymbol) symbol).getEvaluator()).evalReal();
}
// slow evaluation path
final IExpr result = F.evaln(symbol);